package com.thinkit.bigdata.web.dao.sys;

import com.thinkit.bigdata.core.feature.orm.mybatis.Page;
import com.thinkit.bigdata.web.model.sys.SysApprovalConfig;
import com.thinkit.bigdata.web.model.sys.SysApprovalConfigDto;
import com.thinkit.bigdata.web.model.sys.SysApprovalConfigExample;
import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

public interface SysApprovalConfigMapper {
    int countByExample(SysApprovalConfigExample example);

    int deleteByExample(SysApprovalConfigExample example);

    int deleteByPrimaryKey(Long id);

    int insert(SysApprovalConfig record);

    int insertSelective(SysApprovalConfig record);

    List<SysApprovalConfig> selectByExample(SysApprovalConfigExample example);

    List<SysApprovalConfigDto> findByMapAndPage(Page<SysApprovalConfigDto> page, Map map);

    List<SysApprovalConfigDto> findByMapAndPage(Map map);

    SysApprovalConfig selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") SysApprovalConfig record, @Param("example") SysApprovalConfigExample example);

    int updateByExample(@Param("record") SysApprovalConfig record, @Param("example") SysApprovalConfigExample example);

    int updateByPrimaryKeySelective(SysApprovalConfig record);

    int updateByPrimaryKey(SysApprovalConfig record);
}